<template>
  <scroll-view class="scroll-view" scroll-x="true" scroll-left="120">
    <view class="scroll-view-img">
      <view class="img-wrap" v-for="(i, index) in list" :key="index">
        <u-image width="100rpx" border-radius="10rpx" height="100rpx" :src="i.img"></u-image>
      </view>
    </view>
  </scroll-view>
</template>

<script>
  export default {
    props: {
      list: Array
    },
    data() {
      return {
        
      }
    }
  }
</script>

<style lang="scss" scoped>
  scroll-view::-webkit-scrollbar {
    height: 0;
    width: 0;
    background-color: transparent;
  }

  .scroll-view {
    padding-left: 20rpx;
    padding-right: 20rpx;
    height: 100rpx;
    box-sizing: border-box;

    .scroll-view-img {
      display: flex;
      align-items: center;

      .img-wrap {
        margin-right: 10rpx;
      }
    }
  }
</style>
